.box1{
    width: 100px;
    height: 100px;
    background: url("./1.jpg") no-repeat center;
    background-size: cover;
}

.box2{
    width: 150px;
    height: 150px;
    background: url("./2.png") no-repeat center;
    background-size: cover;
}